package com.x.Part1_class;

/**
 * ClassName: Phone
 * Package: IntelliJ IDEA
 * Description:
 * Written by HanXu
 * Create 2023/9/14 20:28
 */
public class Phone {
    //属性
    String name;
    double price;
    String store;

    //方法:call()
    public void  call(){
        System.out.println("正在通话中~");
    }

    //方法:sendMessage()
    public void sendMessage(String message){
        System.out.println("发送:" + message);
    }

    //方法:playGame()
    public void playGame(){
        System.out.println("原神启动！");
    }
}
